package com.fanhang.samples.retrofit;

import java.util.List;

import retrofit.http.GET;
import retrofit.http.Path;

public interface GithubService {

	@GET("/users/{userName}")
	User user(@Path("userName") String userName);
	
	@GET("/users/{userName}/repos")
	List<Repository> repos(@Path("userName") String userName);

}
